<%@ page import="interview1.InterView"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link rel='stylesheet' href="./interview/interview.css">
<script src="./interview/interview.js"></script>
<style>
#iu_re{
width: 100%;
margin:0 auto;
text-align: center;
font-size: 20px;
font-weight: bolder;
color: #50AF49;

}
</style>
<script>
function btnList1(){
	location.href = "index.jsp?inc_contents=./interview_list.jsp";
}
</script>
</head>
<body>
<jsp:useBean id="interVo" class="interview1.InterViewVo"/>
<jsp:setProperty property="*" name="interVo"/>
<%
InterView inter = new InterView();
inter.setVo(interVo);

%>
<center><h1>게시글 수정 결과</h1></center>
<br/><br/>
<div id="iu_re">
	
	<%
	if(inter.modify()){%>
	
	<img src="./image/cute.png"><p/><br/>
	<%
		out.print("게시글이 수정되었습니다.");
	}else{%>
	<img src="./image/cute2.jpg"><p/><br/>
	<%
		out.print("경고 : 작업도중 치명적인 오류가 발생했습니다.");
	}
	%>
	<br/><br/>
	
	<div id="btnList_div">
		<input type="button" id="btnList2" value="목록" onclick = "btnList1()">
	</div>
</div>
</body>
</html>